package hb.software.department.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import hb.software.department.dao.DepartmentDao;
import hb.software.department.domain.Department;
import hb.software.department.service.DepartmentManager;
import hb.software.service.impl.GenericManagerImpl;

/**
 * @ClassName: DepartmentManagerImpl
 * @Description: Crud's service of Message module
 * @author LiDongYuan
 * @date May 29, 2020 9:55:06 AM
 * 
 */
@Service("departmentManager")
@Transactional
public class DepartmentManagerImpl extends GenericManagerImpl<Department, Long> implements DepartmentManager

{
	DepartmentDao departmentDao;

	@Autowired
	public void setdepartmentDao(DepartmentDao departmentDao) {
		this.departmentDao = departmentDao;
		this.dao = this.departmentDao;
	}

}
